Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIXUP] cmake: Use PROJECT_{SOURCE,BINARY}_DIR consistently #301

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

hebasto
Copy link
Owner

@hebasto hebasto commented Aug 5, 2024

The current staging branch uses the PROJECT_{SOURCE,BINARY}_DIR and CMAKE_{SOURCE,BINARY}_DIR variables interchangeably.

This PR replaces CMAKE_{SOURCE,BINARY}_DIR with PROJECT_{SOURCE,BINARY}_DIR, making the code consistent and future-proof.

Addresses bitcoin#30454 (comment).

Copy link

@l0rinc l0rinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK f9b4850

@hebasto
Copy link
Owner Author

hebasto commented Aug 5, 2024

Rebased.

@l0rinc
Copy link

l0rinc commented Aug 5, 2024

ACK f78e251

cmake/module/GenerateHeaders.cmake Show resolved Hide resolved
Copy link

@TheCharlatan TheCharlatan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hebasto hebasto merged commit 755e34f into cmake-staging Aug 6, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants